import java.text.SimpleDateFormat

fixture {

    /**
     * country
     */

    england(Country){
        name = "英格兰"
    }

    spain(Country){
        name = "西班牙"
    }

    /**
     * league
     */

    epl(League){
        name = "英超"
        country = england
    }

    sfd(League){
        name = "西甲"
        country = spain
    }

    /**
     * team
     */

    mu(Team){
        name = "曼联"
        league = epl
    }

    ba(Team){
        name = "巴萨"
        league = sfd
    }

    teamToDelete1(Team){
        name = "Team to Delete1"
        league = sfd
    }

    teamToDelete2(Team){
        name = "Team to Delete2"
        league = sfd
    }

    /**
     * player
     */

    ronaldo(Player){
        name = "C罗"
        team = mu
    }

    messi(Player){
        name = "梅西"
        team = ba
    }



    /**
    * match
     */

    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")

    uefaChampiansLeagueFinal(SoccerMatch){
        name = "欧洲冠军杯决赛"
        homeTeam = mu
        awayTeam = ba
        matchDate = formatter.parse("2009-05-28 02:45:00")

    }

    
}